package com.jimmy.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @version 1.0
 * @ ClassName Config_3344_StartSpringCloudApp
 * <p>
 *     添加host 127.0.0.1 config-3344.com
 *     //参考 cloud config 读取规则
 *     //启动访问下 http://config-3344.com:3344/application-dev.yml  http://config-3344.com:3344/application-test.yml
 *     或者 http://config-3344.com:3344/master/application-dev.yml
 *
 *
 *      或者但是这个不靠谱 http://config-3344.com:3344/application/dev/master 这种读取不方便返回的字符串
 * @ author JIMMY
 * @ Date 2020/11/18 0018 上午 10:39
 */
@SpringBootApplication
@EnableConfigServer
public class Config_3344_StartSpringCloudApp
{
    public static void main(String[] args)
    {
        SpringApplication.run(Config_3344_StartSpringCloudApp.class, args);
    }
}
